package com.ljfresh.customer.sercice.Impl;

import com.ljfresh.customer.mapper.AbnormalGoodsMapper;
import com.ljfresh.customer.pojo.AbnormalGoods;
import com.ljfresh.customer.sercice.AbnormalGoodService;
import com.ljfresh.customer.sercice.common.Impl.CommonServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: Lucifer
 * @time: 2020/4/9-16:06
 */
@Service
public class AbnormalGoodServiceImpl extends CommonServiceImpl<AbnormalGoods,Long> implements AbnormalGoodService  {

    @Resource
    private AbnormalGoodsMapper abnormalGoodsMapper;

    @Autowired
    public void setGenericDao() {
        super.setCommonMapper(abnormalGoodsMapper);
    }

    @Override
    public Long delALLGoods() {
        return abnormalGoodsMapper.delALLGoods();
    }
}
